<?php

namespace app\beautiful\model\order;

use app\common\model\CommonModel;

use app\beautiful\model\mall\GoodsModel;

class CashierOrderItemModel extends CommonModel{

    protected  $name = 'beautiful_cashier_order_item';

    protected  $pk   = 'order_item_id';



    public function goods()

    {

        return $this->hasOne(GoodsModel::class,'goods_id','goods_id');

    }

}



